package com.jblog.core.dao.blog.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.jblog.core.dao.blog.CalendarArchiveDao;
import com.jblog.core.model.blog.archive.PostCalendarArchive;
import com.jblog.core.spring.MySqlSessionDaoSupport;

/**
 * CalendarArchiveDaoImpl.java
 *
 * create at 08/29/2011 11:19:56
 */
@Repository
@SuppressWarnings("unchecked")
public class CalendarArchiveDaoImpl extends MySqlSessionDaoSupport implements CalendarArchiveDao {

    private final String namespace = "blog.CalendarArchive.";
    
    @Override
    public List<PostCalendarArchive> getCalendarArchiveOfPost() {
        return super.getSqlSession().selectList(namespace + "ofPost");
    }

}
